Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> #myDIV { border: 3px solid black; width: 300px; height: 300px; } </style> </head> <body> <p>Click the "Try it" button to change the border-right-style property of the DIV element:</p> <button onclick="myFunction()">Try it</button> <div id="myDIV"> <h1>Hello</h1> </div> <script> function myFunction() { document.getElementById("myDIV").style.borderRightStyle = "dotted"; } </script> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_js_border-right-style by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:51:01 GMT --> </html>
Result:
Try it Yourself - © w3schools.com